package com.alone.mybatisplus.datascope.core.loader;

import com.alone.mybatisplus.datascope.core.DataScopeInnerInterceptor;
import com.alone.mybatisplus.datascope.core.domain.ModelDataScope;

/**
 * 加载数据权限要过滤值
 *
 * @author Alone
 * @see DataScopeInnerInterceptor
 */
public interface DataScopeLoader {

    /**
     * 设置过滤的值
     *
     * @param dataScope 数据范围
     */
    void loadFilterValue(ModelDataScope dataScope);

}
